import { createNextAnimateFrameEvent, Destroyable, track } from "xbsj-base";
import { ESViewer } from "../index";

/**
 * 光照时间与动画模拟时间同步
 */
export class TimeSyncEventResetting extends Destroyable {
    constructor(private _viewer: ESViewer) {
        super();
        this.d(track([this._viewer, 'simulationTime'], [this._viewer, 'currentTime']));
    }
}
